//
//  ViewController.m
//  OC单例
//
//  Created by clz on 2019/7/21.
//  Copyright © 2019年 clz. All rights reserved.
//

#import "ViewController.h"
#import "Persion.h"

@interface ViewController ()


@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //0x600002c72ad0   0x600002c72af0
    
    //0x6000029a6040   0x6000029a6040
    Persion *persion01 = [[Persion alloc]init];
    NSLog(@"persion01 = %@",persion01);
    
    Persion *persion02 = [[Persion alloc]init];
    NSLog(@"persion02 = %@",persion02);
    
    Persion *persion03 = [Persion shareInstance];
    NSLog(@"persion03 = %@",persion03);

}


@end
